<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<pre>
		welcome to spring mvc world 苟琳
		<a href="${pageContext.request.contextPath }/demo">主页面</a><br>
		<a href="${pageContext.request.contextPath }/demo/pathvar/xiaomi">路径带参数</a><br>
		<a href="${pageContext.request.contextPath }/demo/requestParam?id=22">url带参数</a><br>
		<a href="${pageContext.request.contextPath }/demo/obj?id=22&name=goulin">参数组装成对象</a><br>
		<a href="${pageContext.request.contextPath }/demo/name1">访问同一个地址1</a><br>
		<a href="${pageContext.request.contextPath }/demo/name2">访问同一个地址2</a><br>
		<hr>
		<a href="${pageContext.request.contextPath }/rest/getjson?id=12&name=xiaomi">获得json</a><br>
		<a href="${pageContext.request.contextPath }/rest/getxml?id=12&name=goulin">获得xml</a><br>
		
		
	</pre>
</body>
</html>